package com.atzzy.ysmall.ysmall_mapper;

import com.atzzy.ysmall.ysmall_beans.CollectionShop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author JAVAZeng
 * @Date 2022/4/12 13:44
 * @Version 1.0
 */
@Mapper
@Repository
public interface CollectionShopMapper {
    int insertTheCollection(CollectionShop collectionShop);
    List<CollectionShop> listTheCollection(@Param("userId") String userId);
    int deleteCollection(@Param("collectionId") int collectionId);
}
